﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;

namespace Business_Tier
{
    public class BT_HRM_EMPLOYEE_ALLOWANCE : MarshalByRefObject, IHRM_EMPLOYEE_ALLOWANCEData//nhan f12
    {
        HRM_EMPLOYEE_ALLOWANCEData EMPLOYEE_ALLOWANCE = new HRM_EMPLOYEE_ALLOWANCEData();

        public int HRM_EMPLOYEE_ALLOWANCE_Delete(string EmployeeCode)
        {
            return EMPLOYEE_ALLOWANCE.HRM_EMPLOYEE_ALLOWANCE_Delete(EmployeeCode);
        }
        public int HRM_EMPLOYEE_ALLOWANCE_Disable(string EmployeeCode, string AllowanceCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_EMPLOYEE_ALLOWANCE_Get(string EmployeeCode, string AllowanceCode)
        {
            return EMPLOYEE_ALLOWANCE.HRM_EMPLOYEE_ALLOWANCE_Get(EmployeeCode, AllowanceCode);
        }
        public System.Data.DataSet HRM_EMPLOYEE_ALLOWANCE_GetList(string EmployeeCode)
        {
            return EMPLOYEE_ALLOWANCE.HRM_EMPLOYEE_ALLOWANCE_GetList(EmployeeCode);
        }
        public int HRM_EMPLOYEE_ALLOWANCE_Insert(string EmployeeCode, string AllowanceCode, decimal Money)
        {
            return EMPLOYEE_ALLOWANCE.HRM_EMPLOYEE_ALLOWANCE_Insert(EmployeeCode, AllowanceCode, Money);
        }
        public int HRM_EMPLOYEE_ALLOWANCE_Save(string EmployeeCode, string AllowanceCode, decimal Money)
        {
            return EMPLOYEE_ALLOWANCE.HRM_EMPLOYEE_ALLOWANCE_Save(EmployeeCode, AllowanceCode, Money);
        }
        public int HRM_EMPLOYEE_ALLOWANCE_Update(string EmployeeCode, string AllowanceCode, decimal Money)
        {
            return EMPLOYEE_ALLOWANCE.HRM_EMPLOYEE_ALLOWANCE_Update(EmployeeCode, AllowanceCode, Money);
        }
    }
}
